package com.lili.collection.jdbc.enums;

import com.lili.collection.core.support.LabelSupport;

/**
 * @author lili
 * @description TODO
 * @date 2023/2/15 1:13
 */
public enum QuoteChar implements LabelSupport {
    NONE("NONE", ""),
    BACKTICK("BACKTICK", "`"),
    DOUBLE_QUOTES("DOUBLE QUOTES", "\""),
    SQUARE_BRACKETS("SQUARE BRACKETS", "[");

    private final String label;
    private final String quoteCharacter;

    QuoteChar(String label, String quoteCharacter) {
        this.label = label;
        this.quoteCharacter = quoteCharacter;
    }

    @Override
    public String getLabel() {
        return label;
    }

    public String getQuoteCharacter() {
        return quoteCharacter;
    }
}
